#ifndef _HPD_H
#define _HPD_H
/*
  author Sylvain Bertrand <digital.ragnarok@gmail.com>
  Protected by GNU Affero GPL v3 with some exceptions.
  See README at root of alga tree.
*/
void hpds_init(struct dce4 *dce);
void hpd_polarity_rearm(struct dce4 *dce, u8 hpd, bool connected);
void hpds_polarity_refresh(struct dce4 *dce);
bool hpd_sense(struct dce4 *dce, u8 hpd);
int hpd_irq(struct dce4 *dce, u8 hpd);
void hpds_off(struct dce4 *dce);
#endif
